﻿namespace CoreEx.ServiceModel
{
    /// <summary>
    /// Represents a class that is capable of initializing 
    /// an object instance.    
    /// </summary>
    /// <typeparam name="TTarget"></typeparam>
    public interface IInitializer<TTarget>
    {
        /// <summary>
        /// Initializes the <paramref name="target"/> instance.
        /// </summary>
        /// <param name="target"></param>
        void Initialize(TTarget target);
    }
}
